package com.hnichr.ump.autoconfigure.business.services;

import com.hnichr.ump.business.services.BusinessServicesConfiguration;
import com.hnichr.ump.common.Constant;
import com.hnichr.ump.common.vo.ModuleVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@ConditionalOnClass(BusinessServicesConfiguration.class)
@Import(BusinessServicesConfiguration.class)
@Slf4j
public class BusinessServicesAutoConfiguration {

	public BusinessServicesAutoConfiguration() {
		log.info("[AutoConfiguration==>]:Business Services Module Loading");
		Constant.addModule(new ModuleVO("BusinessServices","商务服务模块"));
	}
}
